<?php
/**
 * Gold Commercial Extension
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Gold Commercial Extension License
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://store.delorumcommerce.com/license/commercial-extension
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@tinybrick.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade this package to newer
 * versions in the future. 
 *
 * @category   Gold
 * @package    Gold_Repay
 * @copyright  Copyright (c) 2010 Gold Inc. LLC
 * @license    http://store.delorumcommerce.com/license/commercial-extension
 */

class Gold_Repay_Model_Resource_Order_Address_Collection extends Mage_Eav_Model_Entity_Collection_Abstract
{
    protected function _construct()
    {
        $this->_init('repay/order_address');
    }
    public function setOrderFilter($orderId)
    {
        $this->addAttributeToFilter('parent_id', $orderId);
        return $this;
    }
}